package com.chinasoft.mall.model.response;

import java.io.Serializable;
import java.util.List;

public class GetGameBean extends BaseResponse implements Serializable {
	private static final long serialVersionUID = 4735316472173133282L;
	private List<Data> datas;
	private String content;

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public List<Data> getDatas() {
		return datas;
	}

	public void setDatas(List<Data> datas) {
		this.datas = datas;
	}

	@Override
	public int getJsonType() {
		return 0;
	}

	public static class Data implements Serializable {
		private static final long serialVersionUID = 8297319988142426923L;
		private String endDate;
		private String goodsId;
		private String goodsName;
		private String startDate;
		private String type;

		public String getEndDate() {
			return endDate;
		}

		public void setEndDate(String endDate) {
			this.endDate = endDate;
		}

		public String getGoodsId() {
			return goodsId;
		}

		public void setGoodsId(String goodsId) {
			this.goodsId = goodsId;
		}

		public String getGoodsName() {
			return goodsName;
		}

		public void setGoodsName(String goodsName) {
			this.goodsName = goodsName;
		}

		public String getStartDate() {
			return startDate;
		}

		public void setStartDate(String startDate) {
			this.startDate = startDate;
		}

		public String getType() {
			return type;
		}

		public void setType(String type) {
			this.type = type;
		}

		@Override
		public int hashCode() {
			final int prime = 31;
			int result = 1;
			result = prime * result
					+ ((goodsId == null) ? 0 : goodsId.hashCode());
			return result;
		}

		@Override
		public boolean equals(Object obj) {
			if (this == obj)
				return true;
			if (obj == null)
				return false;
			if (getClass() != obj.getClass())
				return false;
			Data other = (Data) obj;
			if (goodsId == null) {
				if (other.goodsId != null)
					return false;
			} else if (!goodsId.equals(other.goodsId))
				return false;
			return true;
		}
	}

}